package com.heather.exam.service;

import com.heather.exam.pojo.vo.ClassScore;
import com.heather.exam.pojo.vo.UserInClassVO;

import java.util.List;

public interface ClassService {
    Integer addClass(String name,Integer userId);
    Integer joinClass(String classId,Integer userId);
    List<UserInClassVO> getAll(String classId);

    List<UserInClassVO> joinList(String classId);

    Integer check(String classId, Integer userId, String studentId);

    List<ClassScore> getScore(String classId, String examId);
}
